#{extends 'main.html' /}
#{set title:'addReqAndStatus View' /}


<form action="@{Plans.addReqAndStatus()}">
	Requirements: <br>
	<textarea name ="requirements" rows="2" cols="20"></textarea> (add ',' to separate the requirements without '')
	<br>
	<br>
	Status:	<select name="status">

	<option value="true">Active</option>

	<option value="false">Inactive</option>
	</select>
    <br>
    Plan: <select  name="planID">
            #{list items:plans, as:'plan'}
                <option value="${plan.id}">${plan.name}</option>
            #{/list}
</select>
    <br><br>
    <input type="submit" value="Submit" />
</form> 
